const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true
})

module.exports = {
  devServer: {
    proxy: {
      '/api': {
        target: "http://localhost:913",
        pathRewrite: {'^/api':''},
        changeOrigin: true
      },
      // '/ws': {
      //   target: "ws://localhost:913",
      //   ws:true,
      //   pathRewrite: {'^/ws':'/'},
      //   changeOrigin: true
      // }
    }
  }
}